text_input#

class predict_backend.page.elements.text_input.TextInput(value='', description='', title='', show_title=True, show_description=True, label='', placeholder='')#

Bases: InputElement

A Text Input element.

Parameters:
  • value (str) – The inputted text, defaults to ‘’.

  • title (str) – The title of the element, defaults to ‘’.

  • description (str) – The element’s description, defaults to ‘’.

  • show_title (bool) – Whether or not to show the title on the page when rendered, defaults to True.

  • show_description (bool) – Whether or not to show the description to the page when rendered, defaults to True.

  • label (str) – The label of the element, defaults to ‘’.

  • placeholder (str) – The placeholder of the element, defaults to ‘’.