I have an input:
You may make a computed property and enable/disable any form type according to its value.
Click me