🔥New premium products for designers. Check them

Webflow js
May 14, 2021

Lock First value on Webflow Select Input

This is a simple additional script for Webflow to help you lock the first value on the Select Input. This will give you the ability to use the first value as the Placeholder or additional description.

Time-to-time it has happened I needed a simple solution how to lock the first value of select from Webflow. As the webflow is not supporting this as a native feature, here is a simple js you can add before the  and run it on you forms. This feature is helpfull for forms and onboardings.


 $(".NAME_ID_OF_SELECT").each(function(){

 $(this).children().first().attr("disabled","disabled");

 });

Hope it will help you! Leave me a feedback or follow me on Twitter to stay updated!

Wish you a creative day,
P.

Let's talk about the topic

Comments

I picked some other writings

Related topics

Love the article? Subscribe to stay updated

You will subscribe to our newsletter. We promise you no spam, only notifications about resources, products, updates, and freebies. You can always unsubscribe whenever you want.

Tap to close