Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-40642

InputFactory shows web console error when no value provided

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • None
    • None
    • None
    • None

      When text input is used with InputFactory (webpack/assets/javascripts/react_app/components/common/forms/InputFactory.js) the value prop is not required and defaults to undefined. This causes this web console error:

      Warning: `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components. 

      Currently we do not use the text input option in inputFactory anywhere, but we plan to as we move more to use all React / PF5 in the UI

              Unassigned Unassigned
              magaphon@redhat.com Maria Agaphontzev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: