Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionalForm ¶
type ConditionalForm struct {
runtime.ComponentBase
Name string
HasName bool
}
ConditionalForm is a minimal test component that mirrors the FormsPage "Live Preview" pattern: when HasName is true a live-preview block is shown; when it is false a muted placeholder is shown instead.
This component exists specifically to exercise the VNode conditional (if/else) rendering path and the type-then-clear regression where clearing the input failed to restore the muted placeholder in the DOM.
func (*ConditionalForm) SetName ¶
func (c *ConditionalForm) SetName(name string)
SetName simulates a user typing into the name input field.
Click to show internal directories.
Click to hide internal directories.