class_docstr: Test ability to marshall ChatInput and ChatMessage protos.
class_docstr_tok: ["Test","ability","to","marshall","ChatInput","and","ChatMessage","protos","."]
docstr: Test that it sets disabled correctly.
docstr_tok: ["Test","that","it","sets","disabled","correctly","."]
code: def test_chat_input_disabled(self):
      """Test that it sets disabled correctly."""
      st.chat_input("Placeholder", disabled=True)
  
      c = self.get_delta_from_queue().new_element.chat_input
      self.assertEqual(c.placeholder, "Placeholder")
      self.assertEqual(c.default, "")
      self.assertEqual(c.value, "")
      self.assertEqual(c.set_value, False)
      self.assertEqual(c.max_chars, 0)
      self.assertEqual(c.disabled, True)
      self.assertEqual(c.position, ChatInputProto.Position.BOTTOM)
  
imports: import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.elements.utils import SESSION_STATE_WRITES_NOT_ALLOWED_ERROR_TEXT
  from streamlit.elements.widgets.chat import DISALLOWED_CONTAINERS_ERROR_TEXT
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.Block_pb2 import Block
  from streamlit.proto.ChatInput_pb2 import ChatInput
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 11 for calling the ChatTest obj's underlying member method code with example usage: obj.test_chat_input_disabled() without return types