1

Is it possible to set the time intervals when using lighting-input tag of type="time"? The default gives intervals with 15 minutes (12:00, 12:15, 12:30... etc). But I need it to set the intervals to 30 mins each (12:00. 12:30, 01:00 .. and so on).

<lightning-input type="time" name="" label="Time" >
3

No that is not possible - 15 minutes is hardcoded and can`t be changed in the base component. If you require such functionality you would have to implement a custom component

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.