()
| 234 | } |
| 235 | |
| 236 | func (m Model) userInputsAreValid() bool { |
| 237 | for _, item := range m.list.Items() { |
| 238 | item := item.(Item) |
| 239 | if item.v.ValidateError != nil { |
| 240 | return false |
| 241 | } |
| 242 | } |
| 243 | return true |
| 244 | } |
| 245 | |
| 246 | func (m Model) importList(clearErr bool) meta.ImportList { |
| 247 | out := make(meta.ImportList, 0, len(m.list.Items())) |