This article explains the Single Line Text block that can be added as a block to design an app.
- Short answers
- Phone numbers
Editing the block
Click on the block and start editing on the panel that appears on the right side.
This is what appears as the name of the input block to the end-user. For example, writing “Phone Number” as the label will show the block as shown below.
This is the text that goes below the input block to help the user.
This is the default value that you want to add so that the users don’t need to fill all input blocks unless some change is required.
Tick this option if you want the user to compulsorily fill the input block.
Select the right validation like Number, Email, or Url for the input.
You can add advanced validation if required. For example, we are designing an app with input “Quantity” validation that ensures the users don’t enter less than 5. Use @ to call any variable and enter the custom validation against it.
Here is how the final app will look if the user enters a value less than 5 in the “Quantity” field.