You will be creating three components having the following hierarchy:
- The
form
component...- is rendered from
bootstrap
- holds the
current
submission - renders the
field
component - provides field with an
instruction
input, which is just plain text that never changes - listens to
submission
events fromfield
- is rendered from
- The
field
component...- contains an
input
field - keeps track of the contents of the
field
- renders a
confirm
button component - tells
confirm
when it should be disabled - captures
confirmation
events from theconfirm
component - provides
submission
events toform
parent
- contains an
- The
confirm
component- can be in different
mode
s:disabled
,waiting
andconfirm
. - listens to
disabled
boolean fromfield
parent - provides
confirmation
event tofield
parent
- can be in different