Bixby Developer Center

References

required

optionalvalue required

Boolean. Determines if the given field in the form is required. Default is true.

Example

The following example is for text-input, but has the same implementation as number-input and textarea.

text-input {
label (Address Line 1)
id (streetAddress)
type (geo.StreetAddress)
value ("[#{raw(action.deliveryAddressCandidate.streetAddress)}]")
// 'required' is not specified. default to 'required (true)'.
}
text-input {
label (Address Line 2)
id (streetAddress2)
type (geo.StreetAddress2)
value ("[#{raw(action.deliveryAddressCandidate.streetAddress2)}]")
required (false) // <-- SPECIFY THAT ADDRESS LINE 2 IS NOT REQUIRED
}