To allow users to clear the selection of an Ember Paper<\/a> {{paper-select}}<\/span>\u00a0component, simply pass it the\u00a0allowClear=true<\/span>\u00a0option:<\/p>\n This option is passed along to the ember-power-select<\/a> component that ember-paper uses under the hood, so the resulting clear button can be styled accordingly. For example,<\/p>\n Thanks to @miguelcobain<\/a> for this tip on the community Slack channel<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":" To allow users to clear the selection of an Ember Paper {{paper-select}}\u00a0component, simply pass it the\u00a0allowClear=true\u00a0option: {{#paper-select placeholder=”Select a thing…” required=false allowClear=true … }} This option is passed along to the ember-power-select component that ember-paper uses under the hood, so the resulting clear button can be styled accordingly. For example, .ember-power-select-clear-btn { position: absolute; right: … [Read more…]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[9,12],"_links":{"self":[{"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/posts\/215"}],"collection":[{"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":6,"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":221,"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/posts\/215\/revisions\/221"}],"wp:attachment":[{"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.munderwood.ca\/index.php\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}{{#paper-select\r\n placeholder=\"Select a thing...\"\r\n required=false\r\n allowClear=true\r\n ...\r\n}}<\/pre>\n
.ember-power-select-clear-btn {\r\n position: absolute;\r\n right: 25px;\r\n}<\/pre>\n